<template>
    <div class="skeleton page">
          <div class="skeleton-swiper"></div>
          <ul class="skeleton-tabs">
            <li v-for="i in 5" :key="i" class="skeleton-tabs-item"><span class="circle"></span><span class="text"></span></li>
          </ul>
          <div class="skeleton-nav"></div>
          <div class="skeleton-title"></div>
          <div  v-for="i in 4" :key="i" style="margin-top: 30upx;">
            <div class="skeleton-productions"></div>
            <div class="skeleton-list"></div>
          </div>
    </div>
</template>
<script>
 export default {
     name:'homepage'
 }
</script>
<style scoped>
.skeleton {
    position: fixed;
    height: 100%;
    overflow: hidden;
    padding: 20upx;
    box-sizing: border-box;
    background: #fff;
    width: 100%;
    top: 0;
  }
  .skeleton-nav {
    height: 120upx;
    background: #eee;
    margin-bottom: 15upx;
    border: solid 1px #f7f7f7;
  }
  .skeleton-swiper {
    height: 280upx;
    background: #eee;
    margin-bottom: 15upx;
    margin-top: 30upx;
  }
  .skeleton-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap:wrap;
    padding: 30upx 22upx;
    background: #fff;
    border-top-left-radius: 20upx;
    border-top-right-radius: 20upx;
  }
  .skeleton-tabs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: $font-sm + 1upx;
    color: $font-color-dark;
  }
  .skeleton-tabs-item span.circle {
    display: inline-block;
    width: 80upx;
    height: 80upx;
    margin-bottom: 10upx;
    border-radius: 50%;
    background: #eee;
  }
.skeleton-tabs-item span.text {
  display: inline-block;
  width: 90upx;
  height: 25upx;
  margin-bottom: 10upx;
  background: #eee;
}
  .skeleton-banner {
    height: 250upx;
    background: #eee;
    margin-bottom: 15upx;
  }
  .skeleton-productions {
    height: 50upx;
    margin-bottom: 15upx;
    background: #eee;
  }
  .skeleton-title {
    width: 300upx;
    height: 50upx;
    background: #eee;
    margin-top: 50upx;
  }
  .skeleton-productions {
    margin-top: 40upx;
    width: 580upx;
    height: 35upx;
  }
  .skeleton-list {
    height: 45upx;
    background: #eee;
    margin-top: 20upx;
    /*margin-left: 80upx;*/
  }
</style>
